<template>
  <div>
      这个按钮可以传值给父组件<button @click="son3Btn">按钮</button>
  </div>
</template>

<script>
export default {
  name: "",
  data() {
    return {
      msg:'我是子组件的值'
    };
  },
  methods: {
    son3Btn() {
      this.$emit('son3Msg',this.msg)
    }
  },
};
</script>

<style scoped>
</style>

